Make CSConfig Thread-save