WanConnection added to check internet connection.