Set thread context class loader in thread factories

Capture thread context class loader during factory creation and
set this class loader on threads created by the factory
Could static import `currentThread()`