Fixed onShutdown execute before onWorkerStop.