skip_if_disconnected function

Skip tests that need an internet connection if you don't have one