Error control (register_shutdown).