add custom exception for shard failure and use in both ESCount/ESSearch tasks