Use background thread for long-running ThreadPoolScheduler

Signed-off-by: unknown <teslalab@donnam1.redmond.corp.microsoft.com>