Bugfix: If the service has to be started on start of the client, it was not waiting long enough.