Added more garbage collection control