Fix: handle the SIGINT signal to allow to Ctrl+C without triggering an exception

Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>