Added auto-off for WiFi while LAN connection.