Should not this be inside a `ensure` block?