close the device, otherwise the app will hang and that's no fun