handling replica reconnection
Merge branch '0.5.0' of github.com:hers-belgrade/hersdata into 0.5.0