Added shutdown watcher.