p2p: make Disconnect not hang for peers created with NewPeer