Handle parse error caused by truncated xml documents so we don't lose wo...

...rkers.