restart on connection loss