waitConnect

Blocks the current thread until the service is connected.

Throws

If connect has not been called.