attempt 0.2.1
The attempt library provides a thin wrapper for the typical begin/rescue/sleep/retry dance. Use this in order to robustly handle blocks of code that could briefly flake out, such as a socket or database connection, where it's often better to try again after a brief period rather than fail immediately.