Adjusted dependency graph structure, but I'm not sure if it does what's necessary.
NASTY hack to disallow duplicate task running in parallel mode.