docs: public void setRequiredServices(long requiredServices) {
          lock.lock();
          try {
              this.requiredServices = requiredServices;
              peerDiscoverers.clear();
              addPeerDiscovery(MultiplexingDiscovery.forServices(params, requiredServices));
          } finally {
              lock.unlock();
          }
      }