dont return a resource to a closed pool