Using Zookeeper Locks in Jruby