Catch console Signal.