public void terminate() {
      closeShell();
      stopPromptLoop();
      stop();
    }
Method for tests to access the results queue
geode-dunit/src/main/java/org/apache/geode/management/internal/cli/HeadlessGfsh.java