support unregistered event, properly stop devices on quit