Manage peer connections to a P2P network