Make tests faster by reaping threads only at the end