Close the tunnel connection after all VNC windows have been closed