We should define the retry count explicitly (preferably on the StoreTask base, if that's possible).