SI-4267 - fix to avoid XMLEventReader swallows IO/Parse exception

and so avoid threads leak and application that do not exit naturally.