Remove shutdown observer.