multithread wrapper for phpunit