Ruby - Easy retry handling