code: @Override
      public void shutdown() throws JournalException {
          synchronized (JournalWriter.SYNCHRONIZER) {
              if (state == SHUTDOWN) {
                  return;
              }
              if (state == FILE_OPEN) {
                  closeFile();
              }
  
              logger.debug("Shutting down.");
              sendRequestToAllTransports(new ShutdownRequest());
              state = SHUTDOWN;
          }
      }
docs: <p>
  Shut it down
  </p>
  <p>
  If the Transports still have files open, close them. Then stop responding
  to requests.
  </p>
  
  @see org.fcrepo.server.journal.JournalWriter#shutdown()