changed parameter timeout to connection_timeout