Keep refreshing the page until all jobs are done