Enable graceful ctrl-c handling.