we now handle http responses immediately to ensure the body is closed