Changed election timeout generation process to be compatible with Raft