Brute force attempt to fix garbage collector issues