Changes made to pass tenant id to the async process thread.