JavaScript has a stop() function. Still waiting for collaborate() and listen()…

https://developer.mozilla.org/en-US/docs/Web/API/Window/stop

Window: stop() method - Web APIs | MDN

The window.stop() stops further resource loading in the current browsing context, equivalent to the stop button in the browser.

MDN Web Docs
Net | Node.js v25.8.1 Documentation