code: public synchronized void close() throws IOException {
          if (!opened) {
              return;
          }
          //
          opened = false;
          accessor.close();
          appender.close();
          hints.clear();
          inflightWrites.clear();
          //
          if (managedWriter) {
              ((ExecutorService) writer).shutdown();
              writer = null;
          }
          if (managedDisposer) {
              disposer.shutdown();
              disposer = null;
          }
      }
docs: Close the journal.
  
  @throws IOException