fixed concurrancy issue in paxos.go