The receiver keeps asking for the first missing byte.
ACK still names the missing byte
Because the two payload bytes are missing, the server still asks for client byte 1001.
waiting ACK=1001
It has not advanced
The ACK has not moved to 1003 yet, because the missing payload has not arrived.
current ACK=1001
Server sequence is separate
The server sends the ACK from its own sequence 5001.
server seq=5001
Summary
The waiting ACK says the receiver still needs the first missing byte.
next wanted=1001