adds an option to restart process if they die