Fix #760: update ShutdownDetector to latest Katana code