I think “Stop after video track ends” only checks the start timestamp of the subtitle event, not the end timestamp. So if the last subtitle event starts before the video ends but lasts until after the video ends, this feature will not help you. You will have to edit the end timestamp of the last subtitle entry or remove that entry completely from the subtitle track with some other software (eg. “Subtitle Edit”).