Reduce number of task graph traversals, remove implicit mustRunAfter for finalizer tasks.