Can we remove the begin/end here and promote the rescue/ensure to the method block?