Attempt to fix a unit test which fails on slow systems (hopefully due to slow to start threads)