The finally block in load.py does not close the database connection. Update the code to ensure connections are closed after use.