Changes to coordinate the restart of ZooKeeper services

Changes in this PR will coordinate the restart of ZK servers one at a time in scenarios like configuration changes so that all the ZK servers are not down at the same time.