coalesce messages, fixes #9