Process C-c as exit.