add ShardException and failover.