patch: restart programs one by one