Cleanup mttest.c : do not try to output reference counts when threads are done