[CDF-242]: Ensure Orient DB shuts down when BA Server shuts down