code: public void stop() {
          hide();
          running = false;
          Closeables.closeQuitely(reader);
          Closeables.closeQuitely(in);
      }
docs: Stops the editor.
  The methods clears the editor screen and also closes in/out and {@link Reader}.