quality-19 Process CLOSE_BLOCK_MARK at end.
https://github.com/regidev/mte/issues/issue/19