When I believed in Jehovah(TM), I'd pray to him at night. I'd doze off.
I remember admonition from the podium that it was disrespectful to doze off during our personal prayers to imaginary sky god Jehovah(TM).
I'd wake up. Say sorry to Jehovah(TM) then either carry on grovelling or just end it.
One thing's for sure, asleep or awake, pray or not it makes no difference........no one's listening!