Syncrhonize access to the blockPeer map.