also callback closed if flushing