WaitForAnyTaskCompleted

Blocks the current thread until any of the given tasks is completed.