CurieBLE - connection status problem

Hi,

have you noticed that when Adnroid device is paired with Genuino101 (CurieBLE) and then you turn bluetooth off , Genuino keeps the connection?

Example:

void loop() {

  BLECentral central = blePeripheral.central();

  if (central) {

    while (central.connected()) {
      Serial.println(F("connection"));
      delay(1000);
    }
    
  }
}