restart service on connection loss