Small utility function that automatically retries Promises.
github.com/olalonde/retry-promise
olalonde/retry-promise