private void handleFailed()
    {
	uncompletedCount = 0;
	completedCount = 0;
	for(OnDemandData onDemandData = (OnDemandData) requested.reverseGetFirst(); onDemandData != null; onDemandData = (OnDemandData) requested.reverseGetNext())
	    if(onDemandData.incomplete)
		uncompletedCount++;
	    else
		completedCount++;

	while(uncompletedCount < 10)
        {
			try {
            OnDemandData onDemandData_1 = (OnDemandData)aClass19_1368.popHead();
            if(onDemandData_1 == null)
                break;
            if(fileStatus[onDemandData_1.dataType][onDemandData_1.ID] != 0)
                filesLoaded++;
            fileStatus[onDemandData_1.dataType][onDemandData_1.ID] = 0;
            requested.insertHead(onDemandData_1);
            uncompletedCount++;
            closeRequest(onDemandData_1);
            waiting = true;
			} catch (Exception _ex) {}
        }
    }