fixed connetion not close on connect negotiation failure.