DM-1152 - zookeeper connection - proper/robust implementation

It is a combination of 4 commits.
See branch u/jbecla/DM-1152 for full details
Merge branch 'u/jbecla/DM-1152'