Limit the damage of ruby's garbage collector