The clear screen should clear the screen but it sounds like it's not stopping the video and so even though the screen is cleared (refreshed) the video continues to play and so you continue to see it (i.e., as the clearing of the screen is extremely fast). The only fix or workaround I can think of here would be to edit (trim) your video such that it actually ends at 3000ms.