Log NOK response before retry

* The response and content are reset as soon
as we enter the retry block