flush keyboard input upon DOSDoor exit
bugfix for acquiring stale locks