> There is no way to safely interrupt an arbitrary block of code. Anything could be happening at the end of that 5 seconds.
IKR!? Like, I'll be click-click-clicking away on my 1982 IBM PC/XT, I mean I'm REALLY hammering it, like REALLY leaning into the keystrokes. Then, all of a sudden, WHAM! Out pops some random lines of code; right at the end of my thread.abort block. I mean, D00000D. OMFG. This can happen anywhere! Anytime! How is any programmer supposed to know what their code is executing?!
I guess I tend to believe, if you don't know what you are doing, then don't do it.
If this is that big of an issue, maybe try real estate. Say it with me, "three-brrr", "two-brrr". Good. Now together...
Also, "idempotent". Everyone keeps dancing around that. Not sure why.