Guard against MutableMap misuse.

Ensure that MutableMap is not accessed after "commit" or from another
Thread.