Do not pop events unless the max size is reached