* Submits the results for a task associated with this job.
* @param taskId The ID of the task whose results are being submitted.
* @param results The serialized results.
*/
public void submitTaskResults(int taskId, Serialized<Object> results) {
TaskDescription taskDesc = scheduler.remove(id, taskId);
if (taskDesc != null) {
Object task = taskDesc.getTask().get();
Runnable command = new TaskResultSubmitter(this, task, results, this);
try {
executor.execute(command);
} catch (RejectedExecutionException e) {
command.run();