As a temporary workaround, we could overwrite the method to not call bmi.finalize, but only destroy the container.