Fixes
Adjust garbage collection in thread instances