The method disconnects all connected clients and closes the server.
The method must be called from the same thread that called the Listen method. The method is not thread-safe.
Listen