Fix connection problem in Mac terminal.