Using wait any task

From http://stackoverflow.com/questions/14726854/task-parallel-library-waitany-with-specified-result