Merged from trunk r1580620:
Fix bug that causes a service to keep retrying after a deadlock occurs until lockRetriesRemaining reached zero

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release13.07@1580627 13f79535-47bb-0310-9956-ffa450edef68