MacBook Pro loses connection when external monitor is connected
Whenever I connect my monitor to my Macbook Pro 13" using the HDMI to Thunderbolt adapter, it makes the Wi-Fi connectivity to my Macbook horrible, it makes my Macbook get WiFi errors and tells me that my WiFi has no IP address. But as soon as I disconnect the monitor, the WiFi is perfect as if it had never had problems. So I am forced to use my Mac without the displays. It's like if my WiFi was broken when the displays get connected. The error is not with the adapter, as everything works perfectly in my office. Does anyone know how to solve this problem. Thanks.
p.s. My WiFi (as far as I have understood) can only work on 2.4 GHz network. I have tried all tips and tricks I could find online, but none of them worked.
Macbook (2016 or later)