Touch input released not triggering

Hi, i am using admob goodies to show ads but on ios when an ad popups and if i am pressing on screen, touch input remains and finger index increments so after ad close when i press on screen again it registers finger index as 2 not 1. On android thats not the case but i need a way to manipulate touch input so that i can reset finger indexes and all touch events. I need a way to manually call on touch input released so that it can register released event for that specific index or any way to manipulate system