moved top seq num check after increment to avoid last packet infinite retransmit - attempt2