After reading user's input. says rlwrap: error: read error on master pty .
This is the known bug of rlwrap.