#include <xpa.h> void XPAClose(XPA xpa);
XPAClose closes the persistent connections associated with this XPA struct and frees all allocated space. It also closes the open sockets connections to all XPA servers that were opened using this handle.
#include <xpa.h> XPA xpa; XPAClose(xpa);
See xpa(n) for a list of XPA help pages