client side disconnection behavior