code: @Override
      public void close() {
          target.kill();
          try {
              thread.join();
              target.consoleStream.print("\n");
              target.consoleStream.flush();
              target.terminal.close();
          }
          catch (InterruptedException | IOException ignored) { }
      }
docs: <p>Stops this progress bar, effectively stops tracking the underlying process.</p>
  <p>Implements the {@link AutoCloseable} interface which enables the try-with-resource
  pattern with progress bars.</p>
  @since 0.7.0