How to stop sound when button is released?

The sound is automatic gun fire it plays on a loop when you click left mouse button. I want the sound to stop when you release the left mouse button but I am confused how to do that. I am using the template from FirstPersonBP. Currently since the sound doesn’t stop if you release it and press left mouse button again the sound overlaps. If it was set so the sound stopped when left mouse button is released I believe it would not overlap sounds. How do I modify the attached image of my blueprint to achieve this?