Fix bogus rescue to proper ensure