Connection timed out error after element.click command

this is the error i gey after running the script.

2023-12-11T13:38:41.566Z INFO webdriver: COMMAND activateApp(“com.circle.mobile”)
2023-12-11T13:38:41.569Z INFO webdriver: [POST] 127.0.0.1:4723/session/292591bd-6085-43ea-91cf-b97f9dbb1f62/appium/device/activate_app
2023-12-11T13:38:41.569Z INFO webdriver: DATA { appId: ‘com.circle.mobile’ }
2023-12-11T13:38:42.187Z INFO webdriver: RESULT null
2023-12-11T13:38:42.189Z INFO webdriver: COMMAND setTimeouts(10000, undefined, undefined)
2023-12-11T13:38:42.190Z INFO webdriver: [POST] 127.0.0.1:4723/session/292591bd-6085-43ea-91cf-b97f9dbb1f62/timeouts
2023-12-11T13:38:42.190Z INFO webdriver: DATA { implicit: 10000 }
2023-12-11T13:38:42.198Z INFO webdriver: RESULT null
2023-12-11T13:38:42.199Z INFO webdriver: COMMAND elementClick(“eyJmaW5kZXJUeXBlIjoiQnlWYWx1ZUtleSIsImtleVZhbHVlU3RyaW5nIjoic3BsYXNoLWZvcndhcmQtYnV0dG9uIiwia2V5VmFsdWVUeXBlIjoiU3RyaW5nIn0”)
2023-12-11T13:38:42.199Z INFO webdriver: [POST] 127.0.0.1:4723/session/292591bd-6085-43ea-91cf-b97f9dbb1f62/element/eyJmaW5kZXJUeXBlIjoiQnlWYWx1ZUtleSIsImtleVZhbHVlU3RyaW5nIjoic3BsYXNoLWZvcndhcmQtYnV0dG9uIiwia2V5VmFsdWVUeXBlIjoiU3RyaW5nIn0/click
2023-12-11T13:40:42.555Z WARN webdriver: Request timed out! Consider increasing the “connectionRetryTimeout” option.
2023-12-11T13:40:42.561Z INFO webdriver: Retrying 1/3
2023-12-11T13:40:42.561Z INFO webdriver: [POST] 127.0.0.1:4723/session/292591bd-6085-43ea-91cf-b97f9dbb1f62/element/eyJmaW5kZXJUeXBlIjoiQnlWYWx1ZUtleSIsImtleVZhbHVlU3RyaW5nIjoic3BsYXNoLWZvcndhcmQtYnV0dG9uIiwia2V5VmFsdWVUeXBlIjoiU3RyaW5nIn0/click
2023-12-11T13:42:43.025Z WARN webdriver: Request timed out! Consider increasing the “connectionRetryTimeout” option.
2023-12-11T13:42:43.034Z INFO webdriver: Retrying 2/3
2023-12-11T13:42:43.034Z INFO webdriver: [POST] http://127.0.0.1:4723/session/292591bd-6085-43ea-91cf-b97f9dbb1f62/element/eyJmaW5kZXJUeXBlIjoiQnlWYWx1ZUtleSIsImtleVZhbHVlU3RyaW5nIjoic3BsYXNoLWZvcndhcmQtYnV0dG9uIiwia2V5VmFsdWVUeXBlIjoiU3RyaW5nIn0/click
2023-12-11T13:44:43.400Z WARN webdriver: Request timed out! Consider increasing the “connectionRetryTimeout” option.
2023-12-11T13:44:43.408Z INFO webdriver: Retrying 3/3
2023-12-11T13:44:43.408Z INFO webdriver: [POST] http://127.0.0.1:4723/session/292591bd-6085-43ea-91cf-b97f9dbb1f62/element/eyJmaW5kZXJUeXBlIjoiQnlWYWx1ZUtleSIsImtleVZhbHVlU3RyaW5nIjoic3BsYXNoLWZvcndhcmQtYnV0dG9uIiwia2V5VmFsdWVUeXBlIjoiU3RyaW5nIn0/click
2023-12-11T13:46:43.757Z ERROR webdriver: Request failed with status undefined due to TimeoutError: Timeout awaiting ‘response’ for 30000ms when running “element/eyJmaW5kZXJUeXBlIjoiQnlWYWx1ZUtleSIsImtleVZhbHVlU3RyaW5nIjoic3BsYXNoLWZvcndhcmQtYnV0dG9uIiwia2V5VmFsdWVUeXBlIjoiU3RyaW5nIn0/click” with method “POST”
Test failed with error: Error [TimeoutError]: Timeout awaiting ‘response’ for 30000ms when running “element/eyJmaW5kZXJUeXBlIjoiQnlWYWx1ZUtleSIsImtleVZhbHVlU3RyaW5nIjoic3BsYXNoLWZvcndhcmQtYnV0dG9uIiwia2V5VmFsdWVUeXBlIjoiU3RyaW5nIn0/click” with method “POST”
at getTimeoutError (file:///Users/azibabari/Circle/appium/node_modules/webdriver/build/utils.js:318:24)
at NodeJSRequest._request (file:///Users/azibabari/Circle/appium/node_modules/webdriver/build/request/index.js:181:31)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Browser.wrapCommandFn (file:///Users/azibabari/Circle/appium/node_modules/@wdio/utils/build/shim.js:82:29)
at async runTest (/Users/azibabari/Circle/appium/appium_tests/appium_test.js:34:5) {
input: undefined,
code: ‘ETIMEDOUT’,

this is the code:
const driver = await wdio.remote(opts);
await driver.activateApp(‘com.circle.mobile’);
// Locate the next button on the First onboarding screen
const splashForwardButtonFinder = byValueKey(‘splash-forward-button’);
try {
// Test logic
await driver.setTimeout({ implicit: 10000 });
await driver.elementClick(splashForwardButtonFinder);
//await driver.pause(30000);
} catch (error) {
console.log(‘Test failed with error:’, error); // Log error message
} finally {
// End the test
await driver.deleteSession();
}
};
// Call the async function to execute the test
runTest();

I am runnning it on an android emulator. it is a flutter mobile app that works on both android and ios. i am using the appium flutter driver