auto restart after connection lost