add config.threadsafe!