Print last exception's message when bailing after MAX_TRIES is reached