added wait_for_services command to the client API