always close the XML-RPC socket