Rand etimeout

Fix #1235
use `rand.Int()`? it returns non-negative number too.