When Robot process fails throwing exception " System.InvalidOperationException: Collection was modified" and enumeration operation may not execute.
It is recommended to bundle the reusable code into a library project, which would then turn the modules into dedicated activities that may drop in the parallel activity.
Find the resource about libraries at About Libraries .