wrap all finalizers in try. closes #3690