mod zookeeper connect method