Protect the common thread pool against poorly written tasks that do not restore original context classloader.

Reference: RM-2329 in CloudBees