html2gif task depends on worker task