Silences unnecessary error log on shutdown.