When connection is closed the wireguard peer should be gone. It wasn't happening until this fix.
When one of the peers has a static public host IP or both peers are in the same local network we establish a direct Wireguard connection bypassing proxy usage. This helps reduce FD usage and improves performance.