Hi Talhah,
Thanks for asking the question on the forum. If you would ask me, it is better to trust your logic instead of the user history. This would mean that you can model de Microflow in such a way that you know which page will be the next to open. For example; you could build a back button that opens an overview page instead of performing a close action.
The other solution would be to look at your close behavior very closely, but I would recommend the option above.