awaitClosed

suspend fun awaitClosed()

Waits until connection setup and both I/O loops have exited after close.