docs: public void reportSuccess() {
          connectionLock.lock();
          try {
              state = State.Success;
              condition.signalAll();
          }
          finally {
              connectionLock.unlock();
          }
      }