flush the last event in the queue if no events are coming in