Ensure that all pending key events are flushed to the system on program ext. (dm)