Hangs test execution due to flutter locater not present on screen or app/screen crashed

Hangs whole execution of test at the same test step when do not find flutter widget with byValuekey or byText.
please find logs:

[6bd5f8b2][FlutterDriver@fb8a] >>> {"command":"waitForAbsent","finderType":"ByValueKey","keyValueString”:”my_key","keyValueType":"String"}

[d44564a3][FlutterDriver@fb8a] Connection to ws://127.0.0.1:41293/Zw4g5AV3WERD=/ws closed

[6bd5f8b2][AndroidUiautomator2Driver@4ba2] Shutting down because we waited 60 seconds for a command

[6bd5f8b2][AndroidUiautomator2Driver@4ba2] Deleting UiAutomator2 session

[6bd5f8b2][AndroidUiautomator2Driver@4ba2] Deleting UiAutomator2 server session

[6bd5f8b2][AndroidUiautomator2Driver@4ba2] Matched '/' to command name 'deleteSession'

[6bd5f8b2][AndroidUiautomator2Driver@4ba2] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/session/74345tfca-18bd-4b50-8a3d-23edsf5e345e] with no body

[6bd5f8b2][AndroidUiautomator2Driver@4ba2] socket hang up

[6bd5f8b2][AndroidUiautomator2Driver@4ba2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up

[d44564a3][AndroidUiautomator2Driver@4ba2] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:

[d44564a3][AndroidUiautomator2Driver@4ba2] [Instrumentation] The process has exited with code null, signal SIGTERM

[6bd5f8b2][ADB] Running '/usr/local/share/android-sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings/.recorder.RecorderService'

[6bd5f8b2][ADB] Running '/usr/local/share/android-sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop group.my.app'

[6bd5f8b2][ADB] Removing forwarded port socket connection: 8200 

[6bd5f8b2][ADB] Running '/usr/local/share/android-sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8200'

[6bd5f8b2][AndroidUiautomator2Driver@4ba2] Restoring hidden api policy to the device default configuration

[6bd5f8b2][ADB] Running '/usr/local/share/android-sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''

[6bd5f8b2][Logcat] Stopping logcat capture

I have tried below things as teardown() to stop appium_process:

if self.appium_process is not None and self.appium_process.poll() is None:
            self.appium_process.terminate()
            self.appium_process.wait(timeout=10)  # Set a timeout to avoid hanging
            self.appium_process.kill()
            logger.info("Appium server stopped")
        else:
            logger.info("Appium server is not running")

However, I am using automationName as Flutter and context set to FLUTTER then if it does not find flutter element because of not being present on screen/disappeared/app crash any or this happens and try to termminate all appium process I do not receive proper shut down of appium server and it blocks all my tests in the queue hanging. For context with NATIVE_APP it works well.
these are my capabilities:

"platformName": "Android", "platformVersion": "13.0", "deviceName": "emulator-5554", "automationName": "Flutter", "retryBackoffTime": 500, "newCommandTimeout": 300

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật