code: public static final synchronized void terminate()
      {
          if (started)
          {
              engine.close();
              started = false;
              Verbose.info(ENGINE_TERMINATED);
              engine.postClose();
              engine = null;
          }
      }
docs: Terminate the engine. It is necessary to call this function only if the engine need to be started again during
  the same JVM execution. Does nothing if engine is not started.