check internet connection and verbose execution