fix(client): close workConn when authentication err