Server changed to Role

Fixed bugs in reconnection when Cluster goes down