This isn't a break in the API console. This is actually a security feature to prevent a script from locking your game. It means that a script you have installed has been using the server processes for too long without a break. If you're developing a script, then I'd look at places where you are making 1) very large calculations or 2) iterating through a large number of objects (particularly Roll20 objects like tokens, characters, handouts, etc). Pretty much nothing I can imagine doing in an API script should be large enough to cause problem number 1, unless the script is just coded extremely inefficiently (I'd almost use deliberately inefficient). Number 2 can be a large issue though if the script was designed in a small test environment and then used in a large game (say 2 mad mages or storm king thunders). If you aren't developing any scripts, what scripts do you have installed, and what are you doing on the vtt when the infinite loop is triggered?