Fix db connection bug--was not closing database connection after
initializing each table.  Fixed.