Hello Hetal,
I think there is no any feedback from Espressif Development Team. So, you need to disconnect first STA and then you can get list of all Access Points as per requirement.
Still, Let's wait feedback from Espressif Team if any updates from their end.