Fix App Freeze when Wifi is turned off and the App comes back to the
Foreground for the 2nd time.