CFY-644 do not end workflow in non graph mode until all tasks are completed or any task failed