Deal exception when disconnected from zookeeper