Fix the bad design for delaying events in Node.