update dotconnect dll and using loop to sql connect