change parallel to finish only when all the work is done.