Added retry and exponential backoff
Merge pull request #1 from ptte/retry-backoff

Added retry and exponential backoff