def METHOD_NAME(f, params, on_exeption=None, _try=0):
    try:
        res = f(params)
        return res
    except Exception as e:
        if _try > 3:
            if on_exeption is None:
                return
            on_exeption.restart()
        else:
            logging.info('[FILL Exception]', repr(e), 'retrying..')
            sleep(1)
            return METHOD_NAME(f=f, params=params, on_exeption=on_exeption, _try=_try+1)
    return None