Typically callbacks need a call to: [https://nim-lang.org/docs/system.html#setupForeignThreadGc.t](https://nim-lang.org/docs/system.html#setupForeignThreadGc.t)
I've not gotten to check beyond a point but that's worth trying. Doubt it cause it works in debug mode but all the same.
