raft: fix elapsed reset