Reduce the race condition by signalling when the server is ready
and not trying to connect before.
1 file changed