ResourcePool: Guard against factory.isGood and factory.close exceptions too.