handle connection error
fix a problem with skkserv protocol