Possible race condition? - C#