updated function async.parallel.