fix issue where batch publish confirms could hang