use ping instead of webclient to check for net