Why does my workflow take so long to run?