Is there a way to kill a resource query after pressing run?

When I'm developing new queries, I sometimes make a mistake and accidentally trigger a query that runs infinitely. When I do this I will reload the tab, but that doesn't always stop the running query. Is there a way to stop a running query? JS queries don't have a timeout (and TBH even the non-JS queries will just run infinitely, I've never seen the timeouts actually work).

@maria123 one hacky fix I just found is if you change an aspect of the query while it's running (e.g., timeout on a database query), it will let you save the query, which seems to stop it. Not sure if the same works for JS ones though—I haven't tested that yet.


Thank you. Also closing the tab seems to stop the thing from running.