Fixed #5581: Make cc.loader continue the counter process even if a resource failed