Need help with some memory leaks - C#