The offset into the resultset buffer needs to be reset before each processed packet if the resultset is being discarded.