fix(transformer): Don't share resolvers between parallel transformers as this will cause a deadlock

Fixes #1276
Closes #1382