code: def stop_all(self):
          
          for alias, service in self._service_objects.items():
              if service.is_alive:
                  with expects.expect_no_raises(
                          'Failed to stop service "%s".' % alias):
                      service.stop()
docs: Stops all active service instances.