Improved parallelization of tasks using async.