added internet connection test