You could try keeping track of time. Once an event is raised, enable a timer (say 30 seconds or more, depending how often the events happen). If something happens during that time, reset the timer. If the timer activates, treat the event as occurred. It’s not a perfect solution, since it introduces a delay, but it may be a workaround for your situation.