SyntaxFix
Write A Post
Hire A Developer
Questions
pt_kill has an option for such. But it is on-demand, not continually monitoring. It does what @Rafa suggested. However see --sentinel for a hint of how to come close with cron.
pt_kill
--sentinel
cron