Cleanly Retrying Blocks of Code After an Exception in Ruby
blog.mirthlab.com