garbage collector protection