LocalDevice.getLocalDevice() Hanging