xpc: fix some refcounting issues related to XPC connections