But control-c should not kill your session, only the currently running process. Control-d is what kills sessions. If you have no current foreground process the shell just starts a new input line. Still could be real bad obviously if a process is killed.