Also, we shouldn't use ThreadLocals for this, since the same underlying threadpool can be used for multiple systems.