Add config options for conditionally stopping processes