Protect callback contexts with a sync.RWMutex too.