``defer  t.memoryMutex.Unlock()`` after the lock.