https://how2.sh/posts/implement-retry-pattern-exponential-backoff/
How to Implement Retry Pattern with Exponential Backoff