Work around peerlist_lock being held for long times when started with no peers
When starting with no peers peerlist_lock is being held for very long times when adding peers. In fact it's not being held but being reacquired so fast that the calling application sits waiting a long time before it's able to add a peer.