Avoid keeping allocated overly large events_pending vector in case of long delays between processing events. While in practice this isn't likely to cause problems, it's better to avoid keeping unnecessarily large allocations. Also remove invalid comment.