Add internet connection checking