Fix: if sending of one email fails using smtp the status is never finished