Make the scheduled task async.