stream reuse, fix to not keep stream when it is in error and closed. stream reuse, fix to stop listening on the fd before rw mode change. stream reuse, fix waiting tcp id value stored before tree insert. stream reuse, fix to not double delete pend.query.
stream reuse, fix to not keep stream when it is in error and closed.
stream reuse, fix to stop listening on the fd before rw mode change.
stream reuse, fix waiting tcp id value stored before tree insert.
stream reuse, fix to not double delete pend.query.

NLnetLabs/unbound,NLnetLabs/unbound,NLnetLabs/unbound,NLnetLabs/unbound