The server thread in a unit test may not have enough time to start and the ongoing client connection will be refused. Fix this by adding sleep.
The server thread in a unit test may not have enough time to start and the ongoing client connection will be refused. Fix this by adding sleep.