Simple reactor pattern implementation for C#