logout timeout, fixes #1