Yes, I wrote a very expensive bug. In my defense I was only seven years old at the time
(www.theregister.com)
I think the fix was to put a limit on the script, just have it run a couple times, the same as it would during the day, not just keep going until it gets stopped.