Set the HTTP connection timeout to 10s, and add a test for it.