Robustify

This is a tad ugly but I've seen the process die, so let's just try to
wrap it all in a big exception handler and hope things work better for
now ;)