Changes to the execution of the critical section in StorageManager.