change grep from C-x C-g to C-x g
C-g should cancle command