[Bug 328232] Network failure handling in repository client code is very poor