Lmic radio.c failure at line 660

Continuing the discussion from Transmit Failure after days using LMIC library and Arduino IDE

Hi i’m having the same issue ecosoph had with lmic failure.
I’ve seen ecosoph found a solution by “forcing the MCU to sleep after a transmit failure”.
Can anyone show me the code to do this fix ?

Best regards
José Salvador