def METHOD_NAME(self):
    if not self.tenants:
        self.tenants = get_tenants(self)
    def _stop_resources(tenant):
        tenant.METHOD_NAME()
    self.log.info("Running 'stop_resources' in parallel for all the tenants")
    object_set = ParallelObject(
        timeout=2100,
        objects=[[tenant] for tenant in self.tenants],
        num_workers=len(self.tenants),
    )
    object_set.run(func=_stop_resources, unpack_objects=True, ignore_exceptions=False)