Turn off WiFi before sleep