Fix race cond.