The sender has to keep just one packet on hand for retransmission, since the lock step acknowledgment guarantees that all older packets have been received.
Since packet transfer over many networks is not reliable, a technique known as positive acknowledgment with retransmission is used to guarantee reliability of packet transfers.