Add conn_timeout param + acquire connection thread