Add an option for soft_barrier to require multiple barrier calls from a task before it completes.