improved reporting of http status 500 errors and retries
Merge pull request #11 from SuperstarDonkeyJockey/endpoint-timeout

improved reporting of http status 500 errors and retries