Cancel listening to changes during teardown

While I was trying to clear up the EventEmitter memory leak warning, I figured it would be prudent to explicitly stop listening for change events when the application is being destroyed, such as in testing.