added sleep to simple_forloop
added sleep to simple_forloop