Many times, with a long line running from trailer rear, all the way to front sewer exit, a small amount of residual water remains in lengthy pipe, that in Summer, may be enough to wet your shoes, when opening sewer cap. In cold temps, this could freeze, stopping flow. I had a galley tank vent on roof plug up from critter invasion (bugs) one time, that slowed the draining to a trickle.
Here is pic of mine, maybe similar to yours? You may even notice a slight rise in pipe middle area, on it's way to the main sewer outlet. This will cause residual water to stay in pipe, until towing, when it moves to exit cap, to give a surprise next dump.
Jerry