[FOLD] Fix lock in getActivePeers