events_libevent now detects when the event currently being handled is removed. This could otherwise cause unpredictable behaviour, especially for timers.