fix EXC_BAD_ACCESS crash

We were calling `[task terminationStatus]` after `task` was released.