Automatically restore status after reconnection