Support for auto logout after a period of time. Change to logout
processing to allow client to logout even if srever isn't listening.