nsqd: race when persisting metadata

since Notify() can be called from many goroutines this needs to Lock not RLock cc @jehiah