Rand etimeout

Fix #1235
the range is not really important. But if we put it this way, then 15 has a probability of 0.5 rather than 0.4 ( if [electiontimeout, 2 * electiontimeout - 1) ).