network: retry on both ECONNREFUSED and ENOENT

This matches the behaviour of xen-api/ocaml/xapi/network.ml