Add timeouts to HttpTransport so we don't block indefinitely.