fun close(): Unit
Overrides CoroutineNetworkChannel.close
Closes this channel.
After a channel is closed, any further attempt to invoke I/O operations upon it will cause a ClosedChannelException to be thrown.
IOException - If an I/O error occurs.
IOException