tests for lack of internet connection