Use a dedicated server per client run with unique pipes, automatic failure recovery and reconnection, and robust resource cleanup. Add cancellation and timeout support to calculator operations, plus demos covering exceptions, cancellation, timeouts, and server crashes.