RF-402: added connection timeout, retry to different zkserver and expone...

Same pull request to correct branch this time.