Simplify the network check to avoid false positive