Just found a bug. This line should be removed, otherwise sending of an ack might be postponed indefinitely. Rare, but can happen. The deadline should be only reset when the Ack was actually sent.