Avoid getting network data if the vpn isn't activated