Recovery on network disconnect