How to decrease wifi inactive timeout timer

Hi,
Is it possible to adjust the wifi inactive timer.
At this moment the timer is set to 300 seconds, as you can see on the screendump attached below.
When the client connect to the esp32 wifi access point, it takes approx. 12 seconds before the "connected devices" output port reports that new connected client.
When disconnecting from the access point it takes 300 seconds before the status is updated and connection is closed by the esp32.
For my applications that is much too long.
Hopefully you have a nice solution for this issue.
Best regards,
Martin.