Revert "Moved awkward io-bridge passing to a THREAD_LOCAL"

This reverts commit 69ccec3ef9714063c535370adaaf795025333dc2.