Added some retry logic in cases where HTTP 409 can occur.