Changes sqlite3 connection timout to 3600 seconds to prevent crashes in flatten step when multiple threads write to the database.