Implementing timeout on zookeeper specific gen_server calls