adding connect timeout
use connect timeout