docs: @Override
      public void close() {
          target.kill();
          try {
              thread.join();
              target.consoleStream.print("\n");
              target.consoleStream.flush();
              target.terminal.close();
          }
          catch (InterruptedException | IOException ignored) { }
      }