Add support for RandomSleep option

Add option to change the RandomSleep option in 10periodic