PEP8 lint
Add customizable exception classes, log statements, retry interval, max failures to @retry.