Only bother shutting down DB if we started it up