release the lock to stop the peers and re-grab the lock to proceed changing server status
use Rlock when just read the log
Merge remote-tracking branch 'upstream/pr/169/head' (pull request #169 from goraft/raft)