Fix deprecation warning for Scheduler.TaskPool
IsExecuting should always be on the UI thread. Fixes #373
Version bump to 5.2.0