[bugfix] Fix a regression with thread creation introduced in 6ae69e2
[bugfix] Fix a regression with thread creation introduced in 6ae69e2

eXist-db/exist,adamretter/exist,ambs/exist,windauer/exist,adamretter/exist,wolfgangmm/exist,windauer/exist,ambs/exist,wolfgangmm/exist,wolfgangmm/exist,olvidalo/exist,eXist-db/exist,olvidalo/exist,dizzzz/exist,eXist-db/exist,ambs/exist,dizzzz/exist,lcahlander/exist,lcahlander/exist,dizzzz/exist,ambs/exist,lcahlander/exist,wolfgangmm/exist,eXist-db/exist,ambs/exist,windauer/exist,dizzzz/exist,lcahlander/exist,windauer/exist,ambs/exist,olvidalo/exist,windauer/exist,olvidalo/exist,adamretter/exist,wolfgangmm/exist,adamretter/exist,dizzzz/exist,dizzzz/exist,eXist-db/exist,wolfgangmm/exist,lcahlander/exist,windauer/exist,eXist-db/exist,adamretter/exist,adamretter/exist,olvidalo/exist,lcahlander/exist