Fix proxy NRE when internet unreachable