Changed from socket to named pipes as communication channel.