Added a timeout to the HttpTransport so it never blocks indefinitely.