Properly disconnect clients when ipc dispatch fails.