Adding support to run linking plugins in a worker thread