Changed the code so only one xmllint worker is created