process error state handler method after exceeding max retries, unless workflow instance was already in error state
fix tests
Merge pull request #43 from NitorCreations/process-error-maxretry

Process error maxretry