set mRunning to false when deconstructing thread