I think this `begin` is not needed, it does not make any difference with or without it, the `ensure` will be still valid.