Sleeps gaps at the end of the images

Solves a problem because sometimes the episode reached an instant
beyond the signal