Use a unique_ptr to store the sqlite3_stmt