Close the socket after sending the file descriptor to the child
Close the socket after sending the file descriptor to the child

Fixes Homebrew/homebrew#39691.

reelsense/brew,EricFromCanada/brew,MikeMcQuaid/brew,alyssais/brew,bfontaine/brew,sjackman/homebrew,Homebrew/brew,claui/brew,mistydemeo/homebrew,staticfloat/brew,pseudocody/brew,mgrimes/brew,mahori/brew,jmsundar/brew,mistydemeo/homebrew,Linuxbrew/brew,AnastasiaSulyagina/brew,toonetown/homebrew,zmwangx/brew,rwhogg/brew,MikeMcQuaid/brew,amar-laksh/brew_sudo,reitermarkus/brew,toonetown/homebrew,sjackman/homebrew,claui/brew,hanxue/linuxbrew,mistydemeo/homebrew,mgrimes/brew,konqui/brew,zmwangx/brew,sjackman/homebrew,JCount/brew,MikeMcQuaid/brew,aw1621107/brew,nandub/brew,palxex/brew,reitermarkus/brew,tonyg/homebrew,hanxue/linuxbrew,mahori/brew,claui/brew,sjackman/homebrew,aw1621107/brew,maxim-belkin/brew,maxim-belkin/brew,palxex/brew,gregory-nisbet/brew,gordonmcshane/homebrew,nandub/brew,alyssais/brew,pseudocody/brew,ilovezfs/brew,reelsense/brew,gregory-nisbet/brew,EricFromCanada/brew,JCount/brew,Homebrew/brew,staticfloat/brew,MikeMcQuaid/brew,AnastasiaSulyagina/brew,ilovezfs/brew,claui/brew,staticfloat/brew,JCount/brew,gordonmcshane/homebrew,tonyg/homebrew,rwhogg/brew,konqui/brew,rwhogg/brew,amar-laksh/brew_sudo,amar-laksh/brew_sudo,muellermartin/dist,muellermartin/dist,tonyg/homebrew,gregory-nisbet/brew,vitorgalvao/brew,Homebrew/brew,EricFromCanada/brew,bfontaine/brew,reitermarkus/brew,pseudocody/brew,ilovezfs/brew,AnastasiaSulyagina/brew,vitorgalvao/brew,konqui/brew,gordonmcshane/homebrew,Linuxbrew/brew,DomT4/brew,hanxue/linuxbrew,bfontaine/brew,mgrimes/brew,DomT4/brew,Linuxbrew/brew,jmsundar/brew,vitorgalvao/brew,konqui/brew,mahori/brew,reitermarkus/brew,muellermartin/dist,jmsundar/brew,JCount/brew,Homebrew/brew,zmwangx/brew,palxex/brew,reelsense/brew,alyssais/brew,nandub/brew,DomT4/brew,maxim-belkin/brew,nandub/brew,vitorgalvao/brew,mahori/brew,toonetown/homebrew,DomT4/brew,Linuxbrew/brew,EricFromCanada/brew,aw1621107/brew