I usually set the time for my session before I start it, and it's for 2 hours mostly. Even if I plan on playing longer, I'll close down all the tables and take a break so I don't loose concentration.

I might quit early if I run exceptionally bad to prevent tilting, but that hasn't happened in a month.