check internet connection when request passkey