Make sure that process yields to queuedjobs after each page

Fix javascript errors starting the job