Something wrong in ACKing.
God-awful code that does the job.