When all child streams are destroyed, make sure the main stream's offset is the same as the maximum child offset.
When all child streams are destroyed, make sure the main stream's offset is
the same as the maximum child offset.

damoxc/dovecot,damoxc/dovecot,damoxc/dovecot,damoxc/dovecot,damoxc/dovecot