Check for Internet connection.