@Override
    public void deconstruct() {
        synchronized (this) {
            if (connection != null) {
                connection.close();
                connection = null;
            }
        }
        supervisor.transport().shutdown().join();
        super.deconstruct();
    }
Connects to the config sentinel and gets information like pid for the services on the node
metrics-proxy/src/main/java/ai/vespa/metricsproxy/service/ConfigSentinelClient.java