Rename graceful_cancel to register_sigterm_handler.