Slight optimization for Future callbacks when future is already finished.
CancellationToken#isCancelled.