Added code to turn off the WiFi to prevent system shutoff bug
Merged