But of course this would not handle a situation where a user's connection was lost. I would be willing to add in a semaphore on logout though if you feel you need one.
Do you think it should be a node-specific semaphore like "logoff.<nodenumber>.txt" or just a logout.txt?