Fix gc loop, where doing a major collection every time instead of minor.