def connect_to_zk(servers, **kwargs):
	conn = zc.zk.ZooKeeper(servers, **kwargs)
	conn.watches.lock = threading.RLock()
	return conn
Function used to connect to zookeeper for pettingzoo.multiprocessing.
dataset/ETHPy150Open Knewton/pettingzoo-python/pettingzoo/utils.py/connect_to_zk