issue #19295: logout even if timeout is during startup process
Merge pull request #475 from shackbarth/19295b

issue #19295: logout even if timeout is during startup process