Gerty keeps going when it should stop playing, trying to fix with static variable