public void shutdown() {
        if (subscriber != null) {
            subscriber.close();
        }
    }
Shuts down the config agent by unsubscribing to the messagebus config.
messagebus/src/main/java/com/yahoo/messagebus/ConfigAgent.java