This is a hilarious problem to have! I'm with the others though - I'd try really hard just to detect his presence, then lack of it for X amount of time - then flush. Even if his remnants stay in the bowl for an hour, I have to think that once he goes, he's done for a while.
That said, if you...