test that "closed" is always emitted
always emit closed exactly once
update packet-stream
3.2.1