Some bsd systems can return enotconn when the client closes the socket.