Use a #define to enable/disable the finalizer thread.