runningCoroutinesClosure

Returns a DispatchClosure that enables foreground coroutines mechanism.