[PATCH v12 12/13] server: Handle LPC port close to break circular references.