Add getWifiStatus function to allow checking for live wifi connection before
trying OTA Update