docs: public boolean pingMyServer(boolean notifyListeners, long pingTimeout) throws NotConnectedException, InterruptedException {
          boolean res;
          try {
              res = ping(connection().getXMPPServiceDomain(), pingTimeout);
          }
          catch (NoResponseException e) {
              res = false;
          }
          if (!res && notifyListeners) {
              for (PingFailedListener l : pingFailedListeners)
                  l.pingFailed();
          }
          return res;
      }