RdInOutHighgui attend to ctrl-c