:curly_loop: extracted threadFactory