Reduce contention on the torrent map

We see the torrent map have quite a bit of contention.  Shard the map by
a configurable number of shards to reduce the times we may contend on
the lock.
Is there a reason to lock the shard here instead of in the caller?