[PATCH 4/8] server: Improve named pipe read error handling.