device.close()