Thanks @alexdumitru for pointing me this. I implemented a basic flood control (https://github.com/josephernest/talktalktalk/commit/43877bd1...), and now such a script doesn't work anymore. Of course you can then do another script that would automatically reconnect after being kicked out, etc.