Sorry, my bad for saying run to the counter. I forget that some people here take everything totally literally.
One of the people waiting in line, not those who were told to wait in the area 20 feet away, should have slowly turned without making any sudden motions or loud noises, or reaching into their pockets, turned and walked at a normal pace back to the counter and asked they hold the planes because of the delay.
Though I also feel if a 20 minute delay at security will cause you to miss your flight, you are not getting to the airport early enough. The passenger with the candy though was able to make their flight.