I think these two lines should be in DynamicClusterManager and only the code related to Zookeeper (i.e. the delete) should be in this class