code: @Override
      public synchronized void close() throws FOSException {
          acceptThreadRunning = false;
          if (scorerHandler != null) {
              scorerHandler.close();
          }
  
          IOUtils.closeQuietly(serverSocket);
          saveConfiguration();
      }
docs: Will save the configuration to file.
  
  @throws FOSException when there are IO problems writing the configuration to file