Added internet connection checker