You should `ensure` this block gets executed, otherwise if an error bubbles up from `yield`, the monkey patch will not be rolled back, and subsequent calls to `simulate_failed_migration` will break (side-effect of the alias chaining).