When the server-side queue (system queue) is no longer needed, it must be closed by calling the close function:
ctCONV NINT ctDECL ctSysQueueClose(NINT qhandle)
Parameter qhandle is a system queue handle returned by a call to ctSysQueueOpen() function. ctSysQueueClose() returns NO_ERROR (0) on success.