handled disconnection with animation