Execute the same query for a # of times with an specific interval between each query execution