Handles dropped packets. Stop-and-wait protocol.