Wait and poll for the client thread to start