Bluetooth not turning on in ESP32

void loop2( void * parameter )
{
  for (;;) {
     SerialBT.begin("XXXXXX");
  }
}

Why do you continuously begin() the SerialBT connection in an endless for loop when just once would be good enough ?