docs: private synchronized void getRegistrationInfo() throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
          Registration reg = new Registration();
          reg.setTo(connection().getXMPPServiceDomain());
          info = createStanzaCollectorAndSend(reg).nextResultOrThrow();
      }