fix(htmlSnapshot): make sure task finishs after last url