connection loss workaround