It looks like this was fixed in 2022 and then broke again in 2023.
Do you have anything ending the routine other than the end of the polygon?
I recently had a similar issue with a photodiode stop time but I was able to move a little of the ITI from the start to the end of the routine.