Fix: mcp: Ignore SIGHUP as early as possible