def restart
      if config.managed? && started?
        exec('restart', p: port, c: config.cloud)
      end
    end
def restart
      if config.managed? && started?
        exec('restart', p: port, c: config.cloud)
      end
    end
Stop Solr and wait for it to finish exiting