Make config saving synchronous