added connect timeout