Fix cache race

I wonder if this could be simplified further by moving things out of that block:

```ruby
@freezer_cache = Hash.new do |cache, mod|
  freezer = nil
  mod.ancestors.each do |ancestor|
    freezer = find(ancestor.name.to_s) and break
  end
  cache[mod] = freezer
end
```