Check your code, maybee you call a function from a loop every frame and this function have also loops with a wait(x).

You can see the count of running functions in the Debug Panel (F11).