ipc: Don't panic if the server disappears, return an error.
-
If the server exits, we set the connection's state to
WriteState::Dead
.- When sending a message, don't panic if the connection's state is
WriteState::Dead
. Instead, return an error message.
- When sending a message, don't panic if the connection's state is