bugfix api name change for wait_for_service.