Fix message duplication if something goes wrong after persisting the event.