use closure with zookeeper module in handler - looks like a bug