fixed infinite loop on forceGC call when using CMS GC