Check if the internet connection is up