Add missing ctx parameter in EventQueue.sendShutdownEvent