Make the restore more rubust.

I have added a try/catch statement around eatch step so we at least
tries to restore at mutch as possible. I have also fixed a problem
with health that caused a stacktrace.