<feature/persistance> fix logout on connection lost #81