docs: public void initializeAndWait() throws XMPPException, SmackException, InterruptedException {
          this.initialize();
          try {
              LOGGER.fine("Initializing transport resolver...");
              while (!this.isInitialized()) {
                  LOGGER.fine("Resolver init still pending");
                  Thread.sleep(1000);
              }
              LOGGER.fine("Transport resolved");
          }
          catch (Exception e) {
              LOGGER.log(Level.WARNING, "exception", e);
          }
      }