Don't ever try to query or write against a shard that is closed or delet...

...ed.

Uses a RWlock so there's no global lock on writes or queries.