Fix data race in GetPeerAddress.