Clear command buffer and deal with responses before doing idle command.