exit when program ends (when lcd support is enabled)