Made sure that all HTTP connections are properly released in try/catch/finally.