def zephyr_load_session_autoretry(session_path):
    backoff = zulip.RandomExponentialBackoff()
    while backoff.keep_going():
        try:
            session = open(session_path, "r").read()
            zephyr._z.initialize()
            zephyr._z.load_session(session)
            zephyr.__inited = True
            return
        except __HOLE__:
            logger.exception("Error loading saved Zephyr session (retrying).  Traceback:")
            backoff.fail()

    quit_failed_initialization("Could not load saved Zephyr session, quitting!")
dataset/ETHPy150Open zulip/zulip/bots/zephyr_mirror_backend.py/zephyr_load_session_autoretry