send logout to Server when EXIT