They run through a seamer right after the filler. I work in the industry. It's a neat process. The can exits the filler, a lid releases and is seamed just after.
Presumably that means if the machine is stopped for a few minutes for maintenance, and then resumed, you need to watch out for a handful of cans where the pressure will have escaped.