I think this `begin..end` can just be `retry`