TrintyChat2: fix rare crash while using logout command.