added 30s connect timeout