Add helper to shutdown Orient server cleanly when Nexus stops