Affects Version/s: 0.5.0
Fix Version/s: 0.5.0
Currently we are handling ZK state changes a bit differently in two places.
In the first case we explicitly close the connection before trying to reconnect. Furthermore, I think we should only try to reconnect when the state is equals to KeeperState.Expired, since now we are closing the connection on a Disconnected event too.