@Override
  public void dispose() {
    Path folder = getCacheFolder().toPath();
    try {
      NioFiles.deleteRecursively(folder);
    }
    catch (IOException e) {
      LOG.warn("Error deleting folder " + folder, e);
    }
  }
@Override
  public void dispose()