Can't run simple sound loop, ptb backend

I copied the endExpNow = False and sound._isFinished = False from this Sound component with empty duration won't play after first iteration of loop—changed behavior in 2023.2.0. The _isFinished code was added as a code component set to end of routine for the routine containing the sound component. And the endExpNow part was in the same code component but in the beginning of routine part.