Exit cleanly from Control-C

This prevents a stack trace from printing on exit