boolean connectSucceeded = false;
try {
URL url = ShuffleUtils.constructInputURL(host.getBaseUrl(), srcAttempts,
httpConnectionParams.getKeepAlive());
httpConnection = new HttpConnection(url, httpConnectionParams,
logIdentifier, jobTokenSecret);
connectSucceeded = httpConnection.connect();
if (stopped) {
LOG.info("Detected fetcher has been shutdown after connection establishment. Returning");