Fix for issue #239

Fixed issue #239 to make ruby_block run on its own to verify broker existence in the ZK.