docs: public static synchronized AdHocCommandManager getAddHocCommandsManager(XMPPConnection connection) {
          AdHocCommandManager ahcm = instances.get(connection);
          if (ahcm == null) {
              ahcm = new AdHocCommandManager(connection);
              instances.put(connection, ahcm);
          }
          return ahcm;
      }