Add sqlite3_progress_handler.