make testrunner threadsafe so -j 2 works