Do we close connections at the right times?
Tor has a longstanding protocol issue where we don't support "half-open" connections: a stream isn't torn down unless it is actually closed, and shutdown(2) doesn't actually do anything.
But that aside, we may have issues in Arti where we don't close things at the right time. @trinity-1686a hit one of these in !90 (closed), and it seems that @eta might be hitting another while working on example code. I don't know whether the issues that they've hit are caused by the lonstanding Tor protocol problem above, or whether they are a separate bug in Arti that we need to fix.
See also #190 (closed) for a possibly related issue.