@Override
 protected void doClose() throws ElasticSearchException {
   super.doClose();
   if (closeFileSystem) {
     try {
       fileSystem.close();
     } catch (IOException e) {
       // ignore
     }
   }
   concurrentStreamPool.shutdown();
 }
 @Override
 protected void doClose() throws ElasticSearchException {
   super.doClose();
   concurrentStreamPool.shutdown();
 }