Avoid keeping the resource mounted because of some failure