only turn off newPage if error was on real request

There is a race condition where a request can be aborted from a previous page load, turning `newPage` off just before the `newPage` request actually comes in. That means the new request will not return the proper cookie that records its response status code and headers.