While running the Test suites, application is getting removed intermittently

When test suite execution is in progress ( I have to run 5 testcases and each is having option to stat and close application ) sometimes application will be removed in-between of test case execution. Due to this my test suite execution will fail, Please do help me why application is removing from my android mobile automatically. Is there any way to check and overcome from this problem.

'Start application on current selected android device'
Mobile.startApplication('C:\\Users\\admin\\androidfile.apk, **false**)

while start application use “false” so that it will not uninstall everytime. By default it was set true.

Yes True option will remove the application when it complete the testcase execution with CloseApplication() commands. In my case sometime when I will run the test suits (4 test cases) and its executed 1 completely and while executing 2nd one (its completed half) in between its removing the application so test suites execution will fail.

My question is why it is removing the application in between? is there any check which I can perform before executing my test suites.

Actual problem is this I have lloked for the log file,

How to resolve this

06-21-2019 04:09:47 PM pressBack(CONTINUE_ON_FAILURE)

Elapsed time: 0.731s

Cannot press back button. (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: socket hang up (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘LAPTOP-B1BBNA2C’, ip: ‘192.168.219.1’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.core.appium.driver.SwipeableAndroidDriver
Capabilities {app: C:\Users\Admin\Downloads\ap…, appActivity: com.msc3.registration.Login…, appPackage: com.bt.smartcontrols, appWaitDuration: 3000, autoGrantPermissions: true, automationName: uiautomator2, databaseEnabled: false, desired: {app: C:\Users\Admin\Downloads\ap…, appActivity: com.msc3.registration.Login…, appPackage: com.bt.smartcontrols, appWaitDuration: 3000, autoGrantPermissions: true, automationName: uiautomator2, deviceId: , deviceName: samsung SM-G920F (Android 7.0), fullReset: false, newCommandTimeout: 1800, noReset: true, noSign: true, platform: ANDROID, platformName: Android, udid: 0416040d13522d03}, deviceApiLevel: 24, deviceId: , deviceManufacturer: samsung, deviceModel: SM-G920F, deviceName: 0416040d13522d03, deviceScreenDensity: 640, deviceScreenSize: 1440x2560, deviceUDID: 0416040d13522d03, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 1800, noReset: true, noSign: true, pixelRatio: 4, platform: ANDROID, platformName: ANDROID, platformVersion: 7.0, statBarHeight: 96, takesScreenshot: true, udid: 0416040d13522d03, viewportRect: {height: 2464, left: 0, top: 96, width: 1440}, warnings: {}, webStorageEnabled: false}
Session ID: 0281b43b-2a74-4d1d-b7f0-575fdc340b30