turn off the device