Close the passed connection if it has no streams, or only closable protocol streams, falling back to aborting the connection if closing it cleanly fails.
Optional
Close the passed connection if it has no streams, or only closable protocol streams, falling back to aborting the connection if closing it cleanly fails.