Application responds to Ctrl-C