add configurable timeout support for zk clients