changed max_connect time to 10s