fix closeApp in connectsdk