Nice one Frank. I'm going to work that one into my setup. It looks like a great way of catching something that is bogging down my server, which in most cases is a bad bot.
I got hung up for a bit with some technical issues. Apparently you can't use variables in aliases when run in the background unless you use a fxn as the alias. Long story short, I'm back on track.