added skiping of repeated failed messages