System.TM seems not to be available on Windows - guard against attempting to call on it
Thread stats don't work on Windows - suppress the (useless) error message