If we cancel a task and we have no other exit code send the signal and
exit code.