Return an error object instead of force-quit when GC runs many times.
In the future, we should not use the number of GC because some evaluation may never make objects on heap.