do not start shutdown thread if in TESTING