class Async::Pool::Controller
def close
def close @available.clear while pair = @resources.shift resource, usage = pair if usage > 0 Console.logger.warn(self, resource: resource, usage: usage) {"Closing resource while still in use!"} end resource.close end @gardener&.stop end