add message body finish detection, hasn't checked yet.