Merge "Fix race conditions caused by StartGC."