Modified the way tasks results are passed to async.