Better logging. Jot down idea on how to decide when to retry.