Periodically check for events to be sent.