title: NamedPipeWrapper: pipe server stops receiving client messages after an exception occurs
body: <p>I have this code to implement name pipes using NamedPipeWrapper library:</p>
  <pre><code>  _pipeServer = new NamedPipeServer&lt;CommandServer.Ipc.Message&gt;(CommandServer.Command.PipeServerName);
    _pipeServer.ClientConnected += delegate (NamedPipeConnection&lt;CommandServer.Ipc.Message, CommandServer.Ipc.Message&gt; connection)
    {
        ////
    };
    _pipeServer.ClientDisconnected += delegate (NamedPipeConnection&lt;CommandServer.Ipc.Message, CommandServer.Ipc.Message&gt; connection)
    {
        ////
    };
    _pipeServer.Error += delegate (Exception exception)
    {
        ////
    };
    _pipeServer.ClientMessage += delegate (NamedPipeConnection&lt;CommandServer.Ipc.Message, CommandServer.Ipc.Message&gt; connection, CommandServer.Ipc.Message message)
    {
       ////
    };
  </code></pre>
  <p>After I start the server, all works perfecly. Clients connect and can send messages normally. <code>_pipeServer.ClientMessage</code> event is called for every client message, however, if inside that event an exception occurs, server stops receiving client messages.</p>
  <p>I tried to start the server again in the <code>_pipeServer.Error</code> event, but it did not work either.</p>
  <p>The only way to restart communication, is by closing the application which starts the server and then re-opening it (pipe clients connect automatically just after the server is started so the server is able to receive messages again).</p>
  <p>Thanks
  Jaime</p>