add connect_timeout to config