Only fail recovery when the failure is not a connection closure