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