real time console output redirection c#