// TODO - check keep-alive response (if present), and close the connection/delay
// for some amount of time if we exceed this limit.
} catch (AbortedFetchException e) {
LOGGER.info("Aborted while fetching " + item.getUrl() + " due to " + e.getAbortReason());
if (e.getAbortReason() == AbortedFetchReason.INTERRUPTED) {
process.increment(FetchCounters.URLS_SKIPPED, 1);
// Make sure our loop terminates.
Thread.currentThread().interrupt();
} else {
process.increment(FetchCounters.URLS_FAILED, 1);