we sloved a error when socket error happened.