Improve parallel performance of workflow