add tests for connection_timeout feature