this condition will always be true since we don't remove the shard from the shards map on line 199. each shard should be in the `shards` map or the `shardsToClose` map but not both.