added stack trace printing for exponential back-off