Bluetooth Proxy ESP32 connection speed - is 20s expected?

I have two ESP32s set up with bluetooth proxy. They are connected via wifi to my LAN. I updated via cable to make sure I have the new framework. I use them to be in close proximity to my two Level Bolt door locks.

They work fine, but sometimes the activation of the lock takes 20-30s from when I click the button in the UI. Is this expected? I thought the new framework was supposed to cache the connections so they would be faster. My experience is that sometimes they are faster and sometimes they take 20-30s. It seems that the long times are when the lock hasn’t been used in a while (like I was out and coming home). Is there some timeout for keeping the connection cached?

Anyway, I’m just not sure what the expected time is here. Thanks.

Do you have details on how you did this? I would love to integrate my Level Bolt door locks into Home Assistant.