Terminate the connection with a remote host.
The Disconnect method terminates the connection with the remote host and releases the client handle allocated by the class. Note that the socket is not immediately released when the connection is terminated and will enter a wait state for two minutes. After the time wait period has elapsed, the client will be released by the operating system. This is a normal safety mechanism to handle any packets that may arrive after the connection has been closed.