Detach clients/clean console input before sending command.