add sleep every 10 seconds