Add exponential back-off

Per #3, add ability to supply Proc/lambda to `sleep` parameter, giving enough flexibility to allow exponential back-off.