docs: public void stop() {
  		resume();
  		final Thread thread = _thread;
  		if (thread != null) {
  			thread.interrupt();
  			try {
  				thread.join();
  			} catch (InterruptedException e) {
  				Thread.currentThread().interrupt();
  			} finally {
  				_thread = null;
  			}
  		}
  	}