private synchronized CompletableFuture<RemoteService> getService(final String type) {
    return recognizedServices.get(type);
  }
Returns the first of the discovered services of the given type, if any.

@param type is the type descriptor of the desired service
@return a CompletableFuture that will provide the desired RemoteService when completed
nat/src/main/java/org/hyperledger/besu/nat/upnp/UpnpNatManager.java