Failed to run automation script on two devices

hello ,
I am automating a chat application just like whatsapp but the problem i am facing that i had launched app on two devices but appium send kill on second device after few seconds even i had set newcommandtimeout but still facing the same issue. both are android device.

The time till first device is logging in the second device’s session out: here is my capabilities

DesiredCapabilities capabilities = new DesiredCapabilities();
    capabilities.setCapability("deviceName","Android");
    capabilities.setCapability("device", "Android");
   
    capabilities.setCapability(CapabilityType.VERSION,"4.4");
    capabilities.setCapability("platformName","Android");
    
    capabilities.setCapability("app",basePath+"\\Apps\\"+prop.getProperty("appName"));
    capabilities.setCapability("udid",deviceId);
    capabilities.setCapability(CapabilityType.PLATFORM, Platform.WINDOWS);
    capabilities.setCapability("newCommandTimeout","500");
     return new AppiumDriver(new URL("http://127.0.0.1:"+Appiumport+"/wd/hub"), capabilities);

I need an urgent help
“platform”:“WINDOWS”,“browserName”:“Android”,“platformVersion”:“4.1”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“warnings”:{},“desired”:{“newCommandTimeout”:“1000”,“app”:“D:\MobileWorkspace\chat_Mobile\Apps\chat_1.500.apk”,“platform”:“WINDOWS”,“deviceName”:“Android”,“platformName”:“Android”,“device”:“Android”,“udid”:“ZX1B32K8Q8”,“version”:“4.4.2”},“newCommandTimeout”:“1000”,“app”:“D:\MobileWorkspace\chat_Mobile\Apps\chat_1.500.apk”,“deviceName”:“Android”,“platformName”:“Android”,“device”:“Android”,“udid”:“emulator-5554”,“version”:“4.4.2”},“sessionId”:“eba8d401-73de-4810-8166-8e8319217cad”}

ERROR: error: Unhandled error: Error: read ECONNRESET
ERROR: at errnoException (net.js:904:11)
ERROR: at TCP.onread (net.js:558:19) context: [POST /wd/hub/session {“desiredCapabilities”:{“newCommandTimeout”:“1000”,“app”:“D:\MobileWorkspace\chat_Mobile\Apps\chat_1.500.apk”,“platform”:“WINDOWS”,“deviceName”:“Android”,“platformName”:“Android”,“device”:"And]
ERROR: debug: Logcat terminated with code 0, signal null
ERROR: debug: UiAutomator exited
ERROR: debug: executing: “D:\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe” -s emulator-5554shell “echo ‘ping’”
ERROR: debug:
ERROR: debug: Stopping logcat capture
ERROR: debug: Logcat already stopped
ERROR: debug: executing: “D:\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe” -s emulator-5554kill-server
ERROR: debug: Waiting for device to be ready and to respond to shell commands (timeout = 5)
ERROR: debug: executing: “D:\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe” -s emulator-5554wait-for-device
ERROR: debug: Retrying restartAdb
ERROR: debug: executing: “D:\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe” -s emulator-5554kill-server
ERROR: debug: Getting connected devices…
ERROR: debug: executing: “D:\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe” -s emulator-5554devices
ERROR: debug: 2 device(s) connected
ERROR: debug: Waiting for device to be ready and to respond to shell commands (timeout = 5)
ERROR: debug: executing: “D:\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe” -s emulator-5554wait-for-device
ERROR: debug: executing: “D:\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe” -s emulator-5554shell “echo ‘ready’”
ERROR: debug: Starting logcat capture
ERROR: debug: Attempting to uninstall app
ERROR: debug: Not uninstalling app since server not started with --full-reset
ERROR: debug: Cleaning up android objects
ERROR: debug: Cleaning up appium session