update JS client transport connect timeout not increasing value every time when connection restart

#2823