close device