docs: private void esDelete(String index, String id) {
          logger.debug("Deleting {}/{}", index, id);
          if (!closed) {
              esClient.delete(index, id);
          } else {
              logger.warn("trying to remove a file while closing crawler. Document [{}]/[{}] has been ignored", index, id);
          }
      }