Updating the retry to catch cql exceptions and use the retry.