Skipping routines containing movie component: possibly a movie3.py error?

Hi,
I have a routine (named picnic) within a loop. Picnic is always skipped unless participants pass the warm up trials (using the code: if (Story == “N”): continueRoutine = False; once participants choose correctly story is changed from N to Y and they see the picnic routine)
This was all working perfectly until I added a movie to the picnic routine. Now the first loop plays through but when they come to skip the picnic routine in the second loop psychopy exits the experiment. Looking at the error message I think it may be something to do with movie3.py not being able to stop the movie (as the routine is being skipped) but I cannot figure out exactly what the problem is or how to fix it.
Any help on this/ understanding the error would be great.

Error message (I have put the bits which I think are relevant in bold; Celebrate is the name of the movie component):

Traceback (most recent call last):
File “C:\Users\ej33\Documents\psychoPy\Squirrel_Peeking\Squirrel_Peeking_lastrun.py”, line 2193, in
> Celebrate.stop()
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\movie3.py”, line 262, in stop
> self._unload()
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\movie3.py”, line 476, in _unload
> self.clearTextures()
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\basevisual.py”, line 1020, in clearTextures
> GL.glDeleteTextures(1, self._texID)
OSError: exception: access violation reading 0x0000000000000000
Exception ignored in: <bound method MovieStim3.del of <psychopy.visual.movie3.MovieStim3 object at 0x0000022C30664C88>>
Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\movie3.py”, line 499, in del
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\movie3.py”, line 476, in _unload
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\basevisual.py”, line 1020, in clearTextures
OSError: exception: access violation reading 0x0000000000000000

Experiment ended.

Thank in advance, Elle