make curl max_timeout variable with env.