docs: public static void recursivelyDeleteDirectoryOnExit(final File directory) {
      Runtime.getRuntime().addShutdownHook(new Thread() {
        @Override
        public void run() {
          try {
            recursivelyDeleteDirectory(directory);
          } catch (IOException e) {
            throw new RuntimeException(e);
          }
        }
      });
    }