make sure to close device