Fix retry-publish