Block device from sleeping