Fix for hang at the end of a song when using DoP with certain files