docs: private void stopDone() {
          synchronized (stopLock) {
              final StopContext stopContext = this.stopContext;
              this.stopContext = null;
              if (stopContext != null) {
                  stopContext.complete();
              }
              stopLock.notifyAll();
          }
      }