Gemini Flash - Looping Issue

On the screenshot below, as you can see, its just loop, I terminated it immediately as it’s a consumes a lot token. No wonder the quota usage is not predictable?