namedpipeconnection: implement close method
We should ensure the named pipe gets closed when closing the stream otherwise the peer will not detect EOF until the object gets finalized.
We should ensure the named pipe gets closed when closing the stream otherwise the peer will not detect EOF until the object gets finalized.