Completed sigint_handler.