Avoid querying DNS seeds, if we have open connections.

The goal is to increase independence and privacy.

Rebased-From: 2e7009d