[Issue 10234] syncrepl does not reset the retrynum