uso da cpu do java filechannel crescendo com o tempo

Estou usando a função java nio filechannel transferFrom junto com o Apache httpclient para baixar arquivos da Internet. Começa normalmente, mas o uso da CPU aumenta repentinamente após algum tempo. E a velocidade do download diminui e eventualmente se torna zero.

try (CloseableHttpResponse response = client.execute(get);
                    ReadableByteChannel inputChannel = Channels.newChannel(
                            response.getEntity().getContent())) {

                while (start < end && currentState.get() == 1) {
                    delta = fileChannel.transferFrom(inputChannel, start, 8192);
                    start += delta;
                    bytesDone.addAndGet(delta);
                    intialState.set(name, start);
                }
            }

Sry não pode postar imagens devido à baixa reputação

questionAnswers(0)

yourAnswerToTheQuestion