raft: address issues with election timeout