That sounds like a good solution, if we really do have to wait for a new message. You could also potentially just wait for `len(received)` is not `old_message_count`.