Fix issue when connected to more than one network. ie VPN