def looping_retry(func, *args):
    while True:
        try:
            return func(*args)
        except Exception:
            pass

import time


def looping_retry(func, *args):
    while True:
        try:
            return func(*args)
        except Exception:
            time.sleep(0.5)
            pass

Add pause during looping retry
Add pause during looping retry
