Is there a way to stop programs from re-opening after a shutdown?