Rand etimeout

Fix #1235
i mean based on multiple calls when elapsed increases.