Fix TcpInServiceOut shutdown when the thread is still waiting for the port to become...