@classmethod
    def __exit__(cls, *args, **kwargs):
        cls.counter = cls.counter - 1
        if cls.counter == 0:
            cls.zk.stop()
            cls.zk.close()
            cls.zk = None
dataset/ETHPy150Open Yelp/paasta/paasta_tools/utils.py/ZookeeperPool.__exit__/original