The Reactor Environment (that's used by the TcpClient) manages a number of threads. To ensure that these threads are cleaned up Environment.shutdown() must be called when the Environment is no longer needed.
The Reactor Environment (that's used by the TcpClient) manages a number of threads. To ensure that these threads are cleaned up Environment.shutdown() must be called when the Environment is no longer needed.