docs: private int getNewReconnectIvl()
      {
          //  The new interval is the current interval + random value.
          int interval = currentReconnectIvl + (Utils.randomInt() % options.reconnectIvl);
  
          //  Only change the current reconnect interval  if the maximum reconnect
          //  interval was set and if it's larger than the reconnect interval.
          if (options.reconnectIvlMax > 0 && options.reconnectIvlMax > options.reconnectIvl) {
              //  Calculate the next interval
              currentReconnectIvl = Math.min(currentReconnectIvl * 2, options.reconnectIvlMax);
          }
          return interval;
      }