Splitting embedded thread factory into separate class for reuse.