private void shutdownnow(File shutdownNow) {
    
    if (firstTime) {
      shutdownNow.delete();
      return;
    }
    // After we trigger the shutdown, let's not add more shut down Runnables
    if (shuttingDown.getAndSet(true)) {
      return;
    }
    Runnable shutdownRunnable = new Runnable() {
    
      @Override
      public void run() {
        IWorkbench workbench = PlatformUI.getWorkbench();
        workbench.saveAllEditors(false);
        workbench.close();
      }
    };
    Display.getDefault().asyncExec(
      shutdownRunnable);
  }