This style of handler is necessary for capturing result sets from queries that use multiple messages to send the results instead of in a single result stanza. Notably, XEP-0313 (MAM).