Callback for connect error in Android