Debugging check_internet_connection