Fix stream corruption and speculative execution bugs

a) Ensure speculative execution does not trigger a task on a host already running the task.

b) Fix/hack to resolve StreamCorruptiopn (type AC) bug.

c) Make checkpoint more tolerant to task failures/speculative execution.