m42

add handler for device disconnection