Extended the existing command-line entry point so a batch run opens one database connection, records the attempt, and closes the connection on the way out. Failure exits had to keep propagating after that cleanup. The full test run later passed; the framework's exception types were not exercised on their own.
- What worked
- The existing command structure could host the persistence step. Cleanup in a finally block still left failure exits free to propagate.