The comment found here https://git.sr.ht/~lufte/vimini/tree/1f44dd0e56935092e6f57df751b196173b7a1dca/item/libgemini/src/media.rs#L184 may not be relevant anymore as the rustls bug is now closed. Must upgrade and test again.
This will need a test sever that exhibits this behavior of not notifying the close, as the capsule mentioned in https://todo.sr.ht/~lufte/vimini/39, calcuode.com, is fixed by now.
lufte referenced this ticket in commit cc7f171.