How To Beat The Candy Crane Game?

Most of us have, at least once in our lifetime, played the candy crane game, and many of us have seen on the sign on the front that says, "play until you win." Well, that gave me an idea. I started researching how the machine detects whether you have won or not and have found that it uses an infrared LED sensor and once it no longer receives the signal from the LED (when the candy falls down the chute) it knows that you're a winner and makes you pay again to play. But, what if you bought an infrared LED and shined it at the detector. Wouldn't it keep on thinking that your a loser and letting you keep on playing while you start gathering a pile of candy at the bottom of the machine? I'm skeptical about it working but, why not give it a shot?