Dynamo clash detection script keeps running

Check the Dynamo file to see if there are element bindings at play - they can add significant time to a run.

More info here: Element Binding in Revit