Odd behaviour with repeating sound files

URL of experiment: dictation2 [PsychoPy]

Description of the problem: I have a sound file that I set up with a sound component with zero volume.

In Begin Routine I have

sound_1.setVolume(1)
sound_1.play()

In Each Frame I have:

    if '1' in keys:
        if sound_1.status == PsychoJS.Status.FINISHED:
            sound_1.play()
        else:
            sound_1.stop()
            sound_1.play()

I’ve also tried

    if '1' in keys:
        if sound_1.status == PsychoJS.Status.STARTED:
            sound_1.stop()
        sound_1.play()

It seems that I can repeat the sound multiple times if I don’t wait until it has finished and once if I do.

On a following trial I can only repeat the sound if I wait until it has finished the first time. Otherwise it just stops.