Support one shutdown handler for all engines.