Make siginfo_handler a little more safe to avoid errors