Fixes signal_handler arguments crash