remove any pending events when leaving dodag