Running multiples tasks and processing the first result