Use CyclicBarriers to ensure the threads have been started before returning.