fixup exception handling in consumer

* catch StandardError
* allow retrying a configurable fixed number of times
* add logger support

#72