Check network reachability