Take a look at the "BlinkWithoutDelay" example included with the IDE. That should give you a way to prevent multiple sends.