pkt-line: do not report packet write errors twice