Fix to server on client exit