Catch an Error that crashes the long running service