Loosing WiFi connection if ESP8266 in AP mode is doing TLS handshake

If ESP8266 is configured in AP mode and has HTTPS server listening (tested with 2048 bit key) then I have problem to make a successful HTTPS request from my Debian machine (using Chrome, FF or curl). The problem is that wpa_supplicant disconnects WiFi:

Jun 03 13:18:59 bono wpa_supplicant[1202]: wlp3s0: CTRL-EVENT-BEACON-LOSS
Jun 03 13:18:59 bono wpa_supplicant[1202]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=0 noise=9999 txrate=0
Jun 03 13:18:59 bono wpa_supplicant[1202]: wlp3s0: CTRL-EVENT-DISCONNECTED bssid=2e:f4:32:ac:b4:da reason=4 locally_generated=1

I think the problem is that cryptography calculations blocks the device to transmit WiFi beacons.

When I tested it with my Android 6 phone then I observed no WiFi disconnection. With iOS I am sometimes able to reproduce the problem but it mostly works fine.

Isn’t it a gereral problem with mos on ESP8266? And is there some solution or workaround for it?

Thanks in advance.

PS: I have also asked here: https://serverfault.com/questions/1019835/how-to-increase-wifi-beacon-timeout-in-linux-networkmanager

Actually it is problem also with Android.