Close cursor on Android's isWatchConnected

Also some small refactor to the method