If the thread got interrupted, I don't think an ElasticSearchTimeoutException should be thrown. And regarding streams, I think they should be released in a try/finally fashion?