code: def check_version(current_version: str):
      
      app_version = parse_version(current_version)
      while True:
          try:
              _do_check_version(app_version)
          except requests.exceptions.HTTPError as herr:
              click.secho('Error while checking for version', fg='red')
              print(herr)
          except ValueError as verr:
              click.secho('Error while checking the version', fg='red')
              print(verr)
          finally:
              # repeat the process once every 3h
              gevent.sleep(CHECK_VERSION_INTERVAL)
docs: Check periodically for a new release