use RunSync for Console.WriteLine (https://github.com/Starcounter/Starcounter/issues/1748)