Fix bag close desync