they changed this awhile back but I think you can adjust the number of threads available. You have to search this forum. If you have many very fast executing tasks which never really hang, adjusting the number of available threads might be a solution and have no detrimental effects
I just did this, and then restarted openHAB. I have the same issue:
01:30:39.087 [WARN ] [phome.internal.handler.ESPHomeHandler] - [haard-eetkamer] Ping responses lacking. Waited 4 times 10 seconds, total of 40. Assuming connection lost and disconnecting
I did not notice the issue in a while now. Would the setting have helped ?
My uptime is now getting to 22d for the ESPHome devices, this is way more than I would ever have expected to be honnest: