Use meta-data mutex for the proxy initialization.

This avoid nesting the collection and the meta-data mutex.