Fix connection error.