code: public boolean waitForConnectionInit() {
          try {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "waitForConnectionInit: waiting for the H2 connection to complete initialization on " + streamId());
              }
              // the connection isn't initialized yet; wait on the init lock
              boolean rc = muxLink.initLock.await(Constants.H2C_UPGRADE_TIMEOUT, java.util.concurrent.TimeUnit.MILLISECONDS);
              if (rc) {
                  if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                      Tr.debug(tc, "waitForConnectionInit: stop waiting, H2 connection initialized " + streamId());
                  }
              } else {
                  if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                      Tr.debug(tc, "waitForConnectionInit: stop waiting, timed out waiting for client ");
                  }
                  muxLink.close(muxLink.initialVC, new ProtocolException("http/2 protocol initialization failed"));
              }
              return rc;
          } catch (InterruptedException e) {
              // server error handled in caller
              return false;
          }
      }
docs: Wait on this thread/stream until the H2 connection has completed initializing
  
  @return true if this connection initialized correctly