Clean log out

Logging out will not give server error messages if server shuts down
after log off.