Added the following logic:

If the save failed because of a conflict, reload the record and reapply the changed attributes and attempt to save again.
Added the following logic:

If the save failed because of a conflict, reload the record and reapply the changed attributes and attempt to save again.