fix deadlock when some video reach end