Bug881124: To prevent the CPU sleep until WIFI is turned off successfully