Quit the database session at end of database setup