Add missing lock around float64 read.