Stop listening on the port for new connections, and initiate a Disconnect on all open connections.
This function requires a running message loop (see RunMessageLoop).
Blocking: Function blocks until Disconnect is called on all open connections. This implies that the connections are not necessarily closed when this function returns.
Events: None.