Added retry logging