oops: don't submit an infinite number of tasks