Multithreading and YAML Config