dht fixes

Fixing dht issues.
@whyrusleeping this is a test and we know it's an inet.Network because we initialize it that way at the top. If it panics, we probably should reconsider whether `Close` even makes sense.