Perl module to try to perform an action, with various ways of retrying and sleeping between retries.