The get_headers() function returns the same headers after calling the next function, preventing implementation of pagination rate limiter