} else if (Thread.currentThread().isInterrupted()) {
logger.warn("Not terminate the download because thread is interrupted");
return;
}
DownloadDirectContext context = new DownloadDirectContext(task, metaChunk, tempDestination);
SequentialProcess process = new SequentialProcess();
process.add(new SelectPeerForDownloadStep(context));
process.add(new AskForChunkStep(context, messageManager, keyManager, config));
try {