use latch=True to close timing windows between adverising and sending