Block on client start until connection is ready

Fixes problem of waiting until connection is actually ready
to be used.