WiFi.disconnect() not behaving as expected

Hi guys, I'm experiencing exactly the same problems you have reported, it is really frustrating.

Have you found a solution? If yes could you please share it?

Many thanks in advance