Hi,

this PR fixes #22031 by catching more FileSystemException based exceptions in NamedPipeSocket.

Cheers, Christoph