SLING-3220 - avoid infinite loop in TimedEventSender, patch contributed by Marc Pfaff, thanks!

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1537937 13f79535-47bb-0310-9956-ffa450edef68