update zookeeper timeout config logic