close

suspend fun close()(source)

Shuts the channel down. Runs under NonCancellable with bounded waits so teardown completes even when the caller is cancelled: shutdown, a bounded await, then shutdownNow plus a second bounded await for forced termination. Close every TapConnection first.