[libvirt] [PATCHv3 6/6] rpc: Fix connection close callback race condition and memory corruption/crash