Properly closing all database tables at the end.
Fixing user data ingestion