Workaround: emit logout success callback upon getting an ack from the server
Workaround: emit logout success callback upon getting an ack from the server

Fixes: T1407

When the server receives a logout request it replies the client with an ack
and then close the connection. This is a weird behavour. The server is supposed
to replies the client with whether the logout was successful or not after acking.

tplgy/tgl,tplgy/tgl,tplgy/tgl,tplgy/tgl