flag for msg send, so only one msg is sent
Merge pull request #25 from mlosch/master

flag for msg send, so only one msg is sent