Stop retransmissions after block is complete
Currently, a retransmission schedule is completely executed. Instead, as soon as k packets of the block have been ACKed, the sender should stop retransmissions.
We might also think about coding the packets only shortly before they are needed.