[Xcode][Value] (minor) Prevent a sign conversion warning in SharedArray.
[Task] ThreadPool::Shutdown() should return as soon as possible.

- Discard all ready but not running yet tasks.