Fix final multipart boundary when streaming 2i with max_results.
An error hunk in the 2i stream should terminate the multipart message.