everything quits properly when you press ESC