You know, I have the same problem with one of my torch lighters.
If I have it in my back pocket for a long time and it gets a little hot just from body heat, it doesn't want to stay lit...
I picked up a Xikar and it doesn't matter how hot that thing gets, it lights every time.