By processing the packets one at a time, the reply state is updated correctly regardless of how many packets are received. This removes the need for the clunky code that used modutil_count_signal_packets to detect the end of the result set.