Thread safe configuration storage