Throw a more meaningful exception when a connection is reset while parsing the result