@Override
protected void doStop() throws Exception {
applicationStatusSource.getSystemStatus().setState(SystemState.STOPPING);
// Due to no dependency mechanism in NX for components, we need to fire off a hint about shutdown first
eventBus.post(new NexusStoppingEvent(this));
// kill services + notify
nexusScheduler.shutdown();
eventBus.post(new NexusStoppedEvent(this));