checks network connectivity and prompts [ci skip]