If a service is started or stopped wait for process completion.