BT/BTDM memory release might fail if any of the memory regions is empty See merge request idf/esp-idf!3031