Added re-import of failed messages at startup

@synhershko @andreasohlund thoughts?

Is this what we want to do to re-import previously messages ?