add SIGINT handler

CTRL-C shouldn't kill the whole shell anymore when foreground process is
running.