Scope events to inside the do loop

Currently, events is being constantly added to forever, we never clear it or
deallocate anything from it. Once we post all of the events associated with
the list, we should trash it.