moved stopTrackingThread() to setIsShuttingDown() to reduce chance of object conflict