Checking location client status before connecting