Catch all exception to keep the auto-commit alive