bring back closeApp for selendroid (fix #1686)