You want to wait for 5 sec at the end of the loop in each loop cycle.Which command will you use?
sleep
pause
wait
any of above three