public void end() throws IOException {
  mServer.stop(mStopTimer);
synchronized (mSync) {
    closeCurrentFile();
  }
  mThreadPoolExecutor.shutdown();
}

public void end ( ) throws IOException { mServer . stop ( mStopTimer ) ; synchronized ( mSync ) { closeCurrentFile ( ) ; } mThreadPoolExecutor . shutdown ( ) ; }
stop the server and release any file locks
