sok / Sok.Socket.TCP / TCPClientSocket / close
suspend fun close():
Unit
(source)
gracefully stops the socket. The method suspends as it waits for all the writing requests in the channel to be
executed before effectively closing the channel. Once the socket is closed a NormalCloseException
will be passed
to the exception handler and to any ongoing read method call