I wrote a code on React that playing a sound on every "keydown" event. The problem is when I press a key and before the sound finishes to play, I pressing another