bugfix - make sure this is the right thing in the retry

(taken from 'nad' downstream)
Logging to STDERR

(taken from 'nad' downstream)