Fixed LongPolling memory leak