Reasons for hal_failed() to end with an infinite loop

Hello,

Is there a good reason for hal_failed() not to be a deadend? What would be the risk of having the custom handler do whatever is needed (like deactivate the lora feature altogether and move on) and not enter the infinite loop after the call to the handler returns?

Regards,
F.