mutually exclusive task execution using ZooKeeper