Bug 995284 - Make the GC more deterministic in the shell r=terrence