I have highly optimized the program and now most transactions take less than 5 seconds, most of the time less.
We did a speed test, see the video below. We were able to buy 3 sodas in under 1 minute, the only thing slowing it down is the soda machine itself.
http://www.youtube.com/watch?v=socQRtYzoxM