better handling of ZK exceptions and connection
removed unused arg
added back a commented debug statement
spacing
typo fix
Merge pull request #407 from nlake44/zk-exceptions

Zk exceptions handling