docs: def maybe_rate_limit(client, headers, atexit=False):
      """Optionally pause the process based on suggested rate interval."""
      # pylint: disable=fixme
      # pylint: disable=global-statement
      # FIXME: Yes, I know this is not great. We'll fix it later. :-)
      global LAST_CLIENT, LAST_HEADERS
  
      if LAST_CLIENT and LAST_HEADERS:
          # Wait based on previous client/headers
          rate_limit(LAST_CLIENT, LAST_HEADERS, atexit=atexit)
  
      LAST_CLIENT = copy.copy(client)
      LAST_HEADERS = copy.copy(headers)