Fix #413 [Metrics viewer] Add reconnection