Lock on Console.Out instead of internal object