release device after connection failure