There's a proc called "do_after()" that solves this problem perfectly.