Remove event array from event queue when there are no events.