That "john distracting the dragon" theory is BS. He was just accepting his demise, similar to Theon. Going out screaming.
I don't think he was accepting his demise; I think he was still desperately trying - and failing - to get to Bran, fight the Night King, and save the day.