I'm not sure if a command failure always means disconnection. As we already have termination management, another failure handling strategy might be needed IMHO.