Add checking internet connection