Retries a function that returns a promise, leveraging the power of the retry module.
npm install promise-retry