this update of _study2shard_map should have had the mutex
Merge pull request #87 from OpenTreeOfLife/lock-study-index-on-ingest-exception

this update of _study2shard_map should have had the mutex