Client now reconnects and relogs if the server is dead while still
connected.