See 'Retries with Backoff' in Distributed Systems. Handling transient failures.
HTTP Retries.
class RetryPattern:\n def __init__(self):\n pass\n\n def execute(self):\n print('Executing Retry Pattern')