Change results_to_be_sent from a list to a table
Do not send result if task is killed by the master.