prepare ConfigurableThreadFactory injection helper code