Check for request errors before checking if the request was aborted
Make sure the request did not receive an error status code (and hence the response is unavailable) before assuming it was aborted.