Create setTimeout setInterval in Loops