pub fn initialize_thread_pool(num_threads: Option<usize>) -> Result<()>
Initialize rayon thread pool with custom configuration