Added retry_wait parameter for waiting between retries.
Don't sleep if interval==0; updated README
Added example in README
Fixed condition on sleep_interval
Merge retry_interval changes with upstream
Merge pull request #8 from hkariti/master

Added retry_wait parameter for waiting between retries.