before merge
device disconnection