Top CIA official warns next terror attack unavoidable