Adds Task.owner_task for threaded tasks