Added retry count