docs: public void addAddress(PeerAddress peerAddress) {
          int newMax;
          lock.lock();
          try {
              if (addInactive(peerAddress)) {
                  newMax = getMaxConnections() + 1;
                  setMaxConnections(newMax);
              }
          } finally {
              lock.unlock();
          }
      }