Optimise start/stop of processes