set connect_timeout = 2