Handling more errors instead of exiting

Also, if processing fails once, let it through, but if it fails twice in
a row, something probably went wrong and we should exit and examine the
logs