update dotconnect dll and use loop to sql connect