code: protected synchronized void postTaskExecution() {
  		if (stopped) {
  			// Stopped, so don't count the task(s) as done.
  			// (worker threads call this method even if the task was not really executed.)
  			return;
  		}
  		tasksDoneCount++;
  		int percentageComplete = tasksDoneCount * 100 / tasksTotalCount;
  
  		// Compute the progress and notify the listeners
  		this.notifyListenersSpiderProgress(percentageComplete, tasksDoneCount, tasksTotalCount - tasksDoneCount);
  
  		// Check for ending conditions
  		if (tasksDoneCount == tasksTotalCount && initialized) {
  			this.complete();
  		}
  	}
docs: This method is run by each thread in the Thread Pool after the task execution. Particularly,
  it notifies the listeners of the progress and checks if the scan is complete. Called from the
  SpiderTask.