don't assume the messages arrive in UID order