unregister client on logout