Fixed issue with repeated HTTP-requests

Fixed an issue where repeated HTTP-requests would cause timeouts to
occur. Issue caused by a combination of the amount of concurrent HTTP
connections allowed (2) and inconsistent garbage collection of the
request-object.