adding awaitConnected() to see if this makes the test case more reliable.

I suspect that the build box doesn't have enough time for the async client connects to finish before starting the run