Merge "Make tests more reliable by cleaning up worker threads on cancelation. b/17888343" into lmp-dev