Do not attempt to retry an insert/update on exception if it is for a duplicate key error