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