Murphy's Law or Law of the Sod...
The answer is to
not miss any hands.
Try to take your breaks on the
hourly five minute break and do your best to be present for each hand of play.
Another good technique is to have a mobile device (with the poker client installed on it) to hand alongside the computer, then if you have to step up, leave the room or go for a little fly out the window on your jetpack then you can transfer the session onto your mobile device and avoid missing any hands that way.
If you
consciously decide during play 'Oh I'm going to go make a delicious loosey-goosey sandwich in the kitchen, I'll only miss maybe four or five hands' or to take a break for any other reason, then this is your choice. You have choosen to miss hands and if you get dealt AA, KK or AhKh and the flop was QhJhTh then that is what you decided to do.
Geese and melted cheese encased sloppily in cooked flour can be difficult to resist, as can calls of nature, in your defence.
It's definitely one of those things though, anything you leave yourself open to will probably happen to you eventually...