added a set task done call on content load error