title: How does TCP connection terminate if one of the machine dies?
body: <p>If a TCP connection is established between two hosts (A &amp; B), and lets say host A has sent 5 octets to host B, and then the host B crashes (due to unknown reason). 
  The host A will wait for acknowledgments, but on not getting them, will resend octets and also reduce the sender window size.
  This will repeat couple times till the window size shrinks to zero because of packet loss. My question is, what will happen next?</p>