fix(connect): prevent agent mid-turn blocking Co-authored-by: 修雨 <47820304+PeterGuy326@users.noreply.github.com>