CFY-1662 wait for tasks to end in modification workflows